@use "blog.variable.module.scss" as blog;

.blog-category {
  display: flex;
  flex-direction: column;
  gap: 3vh;
  padding: 10vh 2vw;

  .total {
    text-align: center;
    font-size: blog.$normal-font-size;
    color: blog.$normal-text-color;
  }

  .category-list {
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: auto;

    .item {
      display: flex;
      align-items: center;
      gap: 5px;
      padding-bottom: 5px;
      border-bottom: 1px dashed blog.$gray-text-color;
      color: blog.$normal-text-color;

      i {
        font-size:28px;
        color: #0f8bc7;
      }

      .content {
        display: flex;
        flex-direction: column;
        gap: 5px;

        .label {
          cursor: pointer;
          color: blog.$normal-text-color;
          font-size: blog.$normal-font-size;
        }

        .label:hover {
          color: blog.$hover-text-color;
        }

        .value {
          font-size: blog.$normal-font-size;
          color: blog.$gray-text-color;
        }
      }
    }

    .item:hover {
      color: var(--color-text);
      cursor: pointer;
    }
  }
}

@media screen and (max-width: 768px) {
  .blog-category {
    padding: 20px 10px;
  }
}
